<%= skyline_form_for @user, {:as => :user, :url => skyline_users_path(), :remote => true, :method => :post} do |f|%>
  <%=  render :partial =>  "form", :locals => {:f => f, :password_attribute => :password, :password_confirmation_attribute => :password_confirmation}  %>
<% end %>